package com.xinou.daily_report.VO;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinou.daily_report.VO.DailySingleListVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

/**
 * @创建人 lcc
 * @创建时间 2021/4/29
 * @描述
 */
@Data
@ApiModel(value="DailyListExcelVO对象", description="用户日报列表下载")
@Accessors(chain = true)
@ContentStyle(wrapped = true)
public class DailyListExcelVO implements Serializable {
    private static final long serialVersionUID = 8466558284669009264L;

    @ColumnWidth(20)
    @ExcelProperty(value = "部门",index=0)
    private String deptName;

    @ColumnWidth(20)
    @ApiModelProperty(value = "姓名")
    @ExcelProperty(value = "姓名",index=1)
    private String realName;

    @ColumnWidth(20)
    @ExcelProperty(value = "日期",index=2)
    @ApiModelProperty(value = "日期")
    private String dailyTime;

    @ColumnWidth(20)
    @ExcelProperty(value = "结果定义",index=3)
    @ApiModelProperty(value = "结果定义")
    private String resultDefine;

    @ColumnWidth(20)
    @ExcelProperty(value = "工作地点",index=4)
    @ApiModelProperty(value = "工作地点")
    private String workPlace;

    @ColumnWidth(50)
    @ExcelProperty(value = "完成情况汇报",index=5)
    @ApiModelProperty(value = "完成情况汇报")
    private String completionReport;

    @ColumnWidth(50)
    @ExcelProperty(value = "总结",index=6)
    @ApiModelProperty(value = "总结")
    private String summary;

    @ColumnWidth(10)
    @ExcelProperty(value = "状态",index=7)
    private String state;

}
